The Complexity of the Extended GCD Problem

نویسندگان

  • George Havas
  • Jean-Pierre Seifert
چکیده

We undertake a thorough complexity study of the following fundamental optimization problem, known as the `p-norm shortest extended GCD multiplier problem: given a1, . . . , an ∈ Z, find an `p-norm shortest gcd multiplier for a1, . . . , an, i.e., a vector x ∈ Z with minimum ( ∑n i=1 |xi|) satisfying ∑n i=1 xiai = gcd(a1, . . . , an). First, we prove that the shortest GCD multiplier problem (in its feasibility recognition form) is NP-complete for every `p-norm with p ∈ N. This gives an affirmative answer to a conjecture raised by Havas and Majewski. We then strengthen this negative result by ruling out even polynomial-time algorithms which only approximate an `p-norm shortest gcd multiplier within a factor n log γ , for γ an arbitrary small positive constant, under the widely accepted complexity theory assumption NP 6⊆ DTIME(n ). For positive results we focus on the `2-norm GCD multiplier problem. We show that approximating this problem within a factor of √ n is very unlikely NP-hard by placing it in NP ∩ coAM through a simple constant-round interactive proof system. This result is complemented by a polynomial-time algorithm which computes an `2-norm shortest gcd multiplier up to a factor of 2. This study is motivated by the importance of extended gcd calculations in applications in computational algebra and number theory. Our results rest upon the close connection between the hardness of approximation and the theory of interactive proof systems.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the Complexity of the Extended Euclidean Algorithm (extended abstract)

Euclid’s algorithm for computing the greatest common divisor of 2 numbers is considered to be the oldest proper algorithm known ([10]). This algorithm can be amplified naturally in various ways. The GCD problem for more than two numbers is interesting in its own right. Thus, we can use Euclid’s algorithm recursively to compute the GCD of more than two numbers. Also, we can do a constructive com...

متن کامل

The Complexity of Approximate

We study the approximability of the following NP-complete (in their feasibility recognition forms) number theoretic optimization problems: 1. x 2 Z n with minimum max 1in jxij satisfying P n i=1 xiai = gcd(a1; : : : ; an). We present a polynomial-time algorithm which approximates a minimum gcd set for a1; : : : ; an within a factor 1+ln n and prove that this algorithm is best possible in the se...

متن کامل

Genetic Algorithms for the Extended GCD Problem

The extended greatest common divisor GCD problem is given a vector a a an of positive integers compute g the greatest common divisor of these inte gers and nd a vector x x xn of integer coe cients such that

متن کامل

Jug measuring: Algorithms and complexity

We study the hardness of the optimal jug measuring problem. By proving tight lower and upper bounds on the minimum number of measuring steps required, we reduce an inapproximable NP-hard problem (i.e., the shortest GCD multiplier problem [G. Havas, J.-P. Seifert, The Complexity of the Extended GCD Problem, in: LNCS, vol. 1672, Springer, 1999]) to it. It follows that the optimal jug measuring pr...

متن کامل

A New Algorithm and Refined Bounds for Extended Gcd Computation

Extended gcd computation is interesting itself. It also plays a fundamental role in other calculations. We present a new algorithm for solving the extended gcd problem. This algorithm has a particularly simple description and is practical. It also provides reened bounds on the size of the multipliers obtained.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999